<fieldset class="form-fieldset">
  <legend><?php echo $title ?></legend>

  <span class="form-element-body">
    <span class="form-element">
      <label for="<?php echo $name ?>_password_a">Password</label>
      <span class="form-element-body">
        <input type="password" name="<?php echo $name ?>_password_a" value=""/>
      </span>
    </span>

    <span class="form-element">
      <label for="<?php echo $name ?>_password_b">Confirm Password</label>

      <span class="form-element-body">
        <input type="password" name="<?php echo $name ?>_password_b" value=""/></span>
      </span>

      <div style="clear:both"></div>
    </span>

    <div style="clear:both"></div>
  </span>
</fieldset>